package io.unicorn.modules.water.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * ${comments}
 * 
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2022-03-05 20:25:19
 */
@Data
@TableName("Gather_DB.dbo.v_error_no_exceed")
public class ErrorReport1Entity implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId
	private String unkey;

	private String proName;
	private String dataDate;
	private Integer deviceCount;
	private Integer deviceOk;
	private Integer deviceFixed;
	private Integer errorNew;
	private Integer errorStay;
	private Integer errorBoard;

	private String areaName;//区域
	private String deviceType;//类型
	private String debugerName;//经理

	private String installerName;//经理
	private String installerPhone;//经理

	public static Map<String, String> getHeadName(){
		Map<String, String> headMap = new LinkedHashMap<String, String>();

		headMap.put("proName","小区名称");
		headMap.put("dataDate","数据日期");
		headMap.put("deviceCount","小区户数");
		headMap.put("deviceOk","正常户数");
		headMap.put("deviceFixed","修复户数");
		headMap.put("errorNew","新增故障");
		headMap.put("errorStay","故障户数");
		headMap.put("errorBoard","板子故障");
		headMap.put("areaName","区域");
		headMap.put("deviceType","系统类型");
		headMap.put("debugerName","项目经理");

		headMap.put("installerName","竣工日期");
		headMap.put("installerPhone","是否竣工");

		return headMap;
	};
}
